﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MDF.Logger.Interfaces
{
    class LogObject
    {
        public LOGTYPE Type { get; set; }
        public string Message { get; set; }
        public string Content { get; set; }
        public DateTime Createdate { get; set; }
        public DateTime? Fixedate { get; set; }
        public bool IsFixed { get; set; }

        private LogObject()
        { }

        public LogObject(LOGTYPE type, string _strMessage)
        {
            this.Type = type;
            this.Message = _strMessage;
            Createdate = DateTime.Now;
            Fixedate = null;
            IsFixed = false;
        }

        public LogObject(LOGTYPE type, string _strMessage, string _strContent)
        {
            this.Type = type;
            this.Message = _strMessage;
            this.Content = _strContent;
            Createdate = DateTime.Now;
            Fixedate = null;
            IsFixed = false;
        }
    }
}
